package com.cssy.xxkj.logic.service;

import java.util.List;

import org.springframework.dao.DataAccessException;
import org.springframework.transaction.annotation.Transactional;

import com.cssy.base.service.IBaseService;
import com.cssy.xxkj.logic.entity.LogicWarehouseMaterialoutItemDO;
import com.plat.exception.SyBaseException;
import com.plat.helper.SearchConditions;

public interface IMaterialOutItemService extends IBaseService<LogicWarehouseMaterialoutItemDO>{
	/**
     * 根据其他入库单id查询所有的订单信息
     * @param pid
     * @return
     * @throws DataAccessException
     */
    public List<LogicWarehouseMaterialoutItemDO> findByPid(String pid) throws SyBaseException;
    
    /**
     * 根据其他入库单ID删除所有信息
     * @param pid
     * @throws DataAccessException
     */
	@Transactional
    public void deleteByPid(String pid) throws SyBaseException; 
	
	public List<LogicWarehouseMaterialoutItemDO> finListByCondition(SearchConditions scs) throws DataAccessException;
}
